import { Component, OnInit, Input } from '@angular/core';
import {DynamicChildComponentInterface} from './dynamic-render-child-int';

@Component({
    selector: 'app-dynamic-childb',
    template: `<div>this is [b] component!data:{{data | json}}</div>`,
})
export class DynamicChildBComponent implements OnInit
    , DynamicChildComponentInterface {
    @Input() data: any;
    constructor() { }

    ngOnInit(): void { }
}
